<head>
<style>
    div {
        border: 10px double #000000;
        padding: 10px;
        background: url('resources/flower.jpg');
        -webkit-background-size: 50% auto;
        background-origin: border-box;
    }
</style>
</head>

<body>
<div style="width:500px; height:500px;"></div>
</body>
